package com.junjie.checkin.request.user;

import jakarta.validation.constraints.Min;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

/**
 * @author 洪浚杰
 * @description 修改用户积分请求
 * @date 2025/6/18 15:13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserScoreUpdateRequest {
    @NonNull
    private Boolean increase;  // 是否为增加积分

    @NonNull
    @Min(0)
    private Integer score;  // 修改的分数,必须为正数

    private String remark;
}
